package cn.mineserv.video.videoordersystem.dao;

import cn.mineserv.video.videoordersystem.model.Follow;
import cn.mineserv.video.videoordersystem.model.FollowExample;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface FollowDao extends BaseMapper<Follow> {
    long countByExample(FollowExample example);

    int deleteByExample(FollowExample example);

    List<Follow> selectByExample(FollowExample example);

    int updateByExampleSelective(@Param("record") Follow record, @Param("example") FollowExample example);

    int updateByExample(@Param("record") Follow record, @Param("example") FollowExample example);

    int updateBatch(List<Follow> list);

    int updateBatchSelective(List<Follow> list);

    int batchInsert(@Param("list") List<Follow> list);

    int insertOrUpdate(Follow record);

    int insertOrUpdateSelective(Follow record);
}